﻿using System.Windows.Threading;

namespace MvvmFx.Common.Helpers
{
    public static partial class DispatcherHelper
    {
        /// <summary>
        /// Returns the current Dispatcher for the GUI thread
        /// </summary>
        /// <returns>A Dispatcher</returns>
        public static Dispatcher GetCurrent()
        {
            return Dispatcher.CurrentDispatcher;
        }
    }
}
